/**
 * Main js file of the project
 */
$(document).ready(function(){
  changeDisplay();
});

function changeDisplay(){
	$("#serviceButton").click(function(event){
		 event.preventDefault();
	    $("#websiteList").hide();
	    $("#serviceList").show();
	    $("#serviceButton").addClass("button-blue-selected");
	    $("#websiteButton").removeClass("button-blue-selected");
	  });
	
	$("#websiteButton").click(function(event){
		 event.preventDefault();
	    $("#serviceList").hide();
	    $("#websiteList").show();
	    $("#serviceButton").removeClass("button-blue-selected");
	    $("#websiteButton").addClass("button-blue-selected");
	  });
	
	$("#updateButton").click(function(event){
		 event.preventDefault();
		 $("#serviceButton").removeClass("button-blue-selected");
		 $("#websiteButton").addClass("button-blue-selected");
	  });
}